export type MemoryTestState = 'ready' | 'memorize' | 'recall' | 'complete';

export interface GridItem {
  id: number;
  isHighlighted: boolean;
  isSelected: boolean;
  isCorrect?: boolean;
}

export interface MemoryTestStats {
  levelsCompleted: number;
  averageAccuracy: number;
  levelScores: number[];
  maxLevel: number;
  totalSequences: number;
  perfectLevels: number;
  rating: string;
  memorizeTimeUsed: number;
  totalQuestions: number;
  correctAnswers: number;
  averageTimePerQuestion: number;
  averageTime: number;
  totalRounds: number;
  difficulty: number;
}

export interface MemoryTestRating {
  text: string;
  color: string;
}